import Vue from 'vue'
import VueRouter from 'vue-router'

import Home from '@/views/Home.vue'
import Sort from '@/views/Sort.vue'
import Sift from '@/views/Sift.vue'
import My from '@/views/My.vue'


Vue.use(VueRouter)

const  router = new VueRouter({
    mode:'hash',
    routes:[
        {
            path:'/',
            name:'Home',
            component:Home
        },
        {
            path:'/home',
            name:'Home',
            component:Home
        },
        {
            path:'/sort',
            name:'Sort',
            component:Sort
        },
        {
            path:'/sift',
            name:'Sift',
            component:Sift
        },
        {
            path:'/my',
            name:'My',
            component:My
        }
    ]
})
export default router;